package com.leo.customer.entity.dao

import com.leo.customer.entity.pojo.User
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.stereotype.Repository

@Repository
interface UserDao : JpaRepository<User, Int>, JpaSpecificationExecutor<User> {
    fun findUserByPhone(phone: String): User?
}
